package com.lxm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 关注表
 * </p>
 *
 * @author ${author}
 * @since 2024-10-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Follow implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 关注ID，主键
     */
    @TableId(value = "follow_id", type = IdType.AUTO)
    private Long followId;

    /**
     * 粉丝ID
     */
    private Long fanId;

    /**
     * 被关注者ID
     */
    private Long bloggerId;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;


}
